package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

@Data
@Builder
public class CardResponse {

    @ApiModelProperty("可用名片数")
    private Integer cardNumTotal;
    @ApiModelProperty("已使用名片数")
    private Integer cardNumUsed;
    @ApiModelProperty("未使用名片数")
    private Integer cardNumUnused;

    @ApiModelProperty(value = "员工列表", dataType = "CardResponse.Card")
    private PageResponse2<Card> cardPage;

    @ApiModel("CardResponse.Card")
    @Data
    @Builder
    public static class Card {
        @ApiModelProperty("名片ID")
        private Integer cardId;
        @ApiModelProperty("头像")
        private String logo;
        @ApiModelProperty("名称")
        private String name;
        @ApiModelProperty("职位f")
        private String position;
        @ApiModelProperty("月访客人数d")
        private Integer viewUser;
        @ApiModelProperty("月浏览次数")
        private Integer viewNum;
        @ApiModelProperty("是否可移除: 0不可移除 1可移除")
        private Integer delFlag;
    }
}
